package com.daixin.blog.dto;

import com.daixin.blog.model.User;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Author daixin
 */
@Data
public class QuestionDTO {
    private Long id;
    private String title;
    private String description;//问题描述
    private String tag;//标签
    private Long gmtCreat;
    private Long gmtModified;
    private Long creator;//发布者id
    private Long money;//价格
    private Integer viewCount;//观看数
    private Integer commentCount;//评论数
    private Integer likeCount;
    private User user;
}
